package com.aquila.datacontrol;

import java.text.DecimalFormat;
import java.text.SimpleDateFormat;

import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;

public class SystemConfig {
//	Kc8Hs9mx6Er6
	/** 是否开启友盟统计的开关	 */
	public static final boolean isOpenUmengLog = true ;
	public static int NETWORK_STATE = 0 ;
	/***使用程序的次数*/
	public static  int useCount= 0 ;
	//Kc8Hs9mx6Er6
	/** 日期格式化样式一 :“yyyy/M/d” */
	public static final SimpleDateFormat sdf_1 = new SimpleDateFormat("yyyy/M/d") ;
	/** 日期格式化样式二:“yyyy/M/d HH:mm” */
	public static final SimpleDateFormat sdf_2 = new SimpleDateFormat("yyyy/M/d HH:mm") ;
	
	public static final String BOOK_DB = "book";
	public static final String CHAPTER = "chapter";
	public static final String PAGE = "page";
	public static final String regex = "[0-9]*:[0-9]*";
	
	public static final String displayTextsize_int = "displayTextsize_int";
	public static final String selectBg = "selectBg";
	public static final String showCollectionPrompt = "showCollectionPrompt";
	
	public static final String homePrompt = "homePrompt_2_4_0";
	public static final String textPrompt = "textPrompt_2_4_1";
	
	public static final String displayTextsize = "displayTextsize_int";
	
	public static final String textColor = "textColor";
	public static final String titleColor = "titleColor";
	public static final String chapteColor = "chapteColor";
	public static final String keywordColor = "keywordColor";
	public static final String indexColor = "indexColor";
	public static final String lastReadingData = "lastReadingData";
	
	/**
	 * 公告的保存配置属性
	 */
	public static final String afficheVerson = "afficheVerson";
	public static final String afficheTitle = "afficheTitle";
	public static final String afficheContent = "afficheContent";
	
	public static final String myStyleDivideLine = "myStyleDivideLine";
	
	
	public static String shareDownloadUrl = "" ;
	
	public static final String[] switchSettings = new String[]{
		"showTextPrompt",						//0，文本提示
		"stateInLastReading",					//1，进入历史阅读
		"stateScreenOn",						//2，保持屏幕常亮
		"stateChapterSeleteRemain",				//3，保留章节选择页面
		"chapterPrompt",						//4，章节选择的底部提示
		"stateHideTitle",						//5，隐藏小标题
		"volumPage",						//6，音量键控制翻页
		"autoUpdate",						//7，开启自动更新提示
	} ;
	
	
	public static String[] en_testamentNameStrings ;
	public static String[] en_testamentShortStrings ;
	public static String[] testamentShortStrings ;
	public static String[] belongStrings ;
	
	public static final int COLOR_TITLE = 0xff9c19ac;
	public static final int COLOR_CHAPTER = 0xff4d4dec;
	public static final int COLOR_TEXT = 0xff000000;
	public static final int COLOR_KEYWORD = 0xff28b353;
	public static final int COLOR_INDEX = 0xffb61e33;
	
	
	public static final String My_DATABASE_NAME = "bible.db" ;
	public static final String DATABASE_NAME = "mybible.db" ;
	
	public static SharedPreferences sp ;
	public static Editor editor ;
	//读取文本的格式
	public static DecimalFormat df = new DecimalFormat("00") ;
}
